Skip to content

Can I read a file into my workspace from Rprofile.site?

2 messages · Elaine Jones, Duncan Murdoch

#
Elaine Jones wrote:
The connections variable will be local to .First, and will disappear 
after that function is done.  To save the variable into the global 
environment, use

connections <<- read.csv("connections.csv", header=TRUE)

instead.

Duncan Murdoch