Hello R users

I am having trouble accessing data on a remote server when using sweave.

An example is the loading of an .RData file e.g.

load(url("http://uk-air.defra.gov.uk/openair/R_data/MH_2006.RData";))

which works fine from the command line (this loads a small .RData file into
R).

I have a sweave document with this sort of code in that is meant to import
data from the server and then process it.  I am finding however that lines 
of code that try and import data in this way do not seem to be evaluated and
subsequent
functions using the data fail.

I can't find any references to similar problems in R-help, hence my enquiry
to you.

Any tips would be welcome!

David

Dr David Carslaw
Science Policy Group
Environmental Research Group
MRC-HPA Centre for Environment and Health
King's College London
Room 4.129
Franklin Wilkins Building
Stamford Street
London SE1 9NH

david.cars...@kcl.ac.uk 




-- 
View this message in context: 
http://r.789695.n4.nabble.com/remote-data-access-from-Sweave-does-not-evaluate-tp3308753p3308753.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to