[R] Reading CSV file every time when R starts

Christofer Bogaso bogaso.christofer at gmail.com
Mon Jun 23 19:42:05 CEST 2014


Hi again,

I am trying to build a procedure such that whenever R starts, it will
read some CSV file.

Therefore I put a code sometime like 'read.csv(...)' in my Rprofile
file. However if I put this function there then I am getting an error
saying 'Error: could not find function "read.csv"', whenever R starts.

So is it the case that, read.csv() function will not work if it put to
run with Rprofile file?

I got similar error with flush.console() function as well.

Can someone tell me how I can achieve that? My goal is to read some
CSV file on startup of R.

Thanks for your pointer.



More information about the R-help mailing list