[R] Newbie question: error message with install.packages
David Winsemius
dwinsemius at comcast.net
Thu Aug 20 08:17:40 CEST 2015
> On Aug 19, 2015, at 9:13 PM, Peter Wicher <pjwicher at gmail.com> wrote:
>
> Hi,
>
> I’m starting to work my way through “Machine Learning With R” by Brett Lantz.
>
> Running on Mac OS X 10.10.4
>
> I’ve downloaded and installed R and the R Console comes up fine.
>
> Whenever I use the install.packages command, regardless of the package I get the same error message:
>
>> install.packages ("RWeka")
> Error: Line starting '<!DOCTYPE HTML PUBLI ...' is malformed!
>
> Any idea of what is wrong and how to solve it?
Not sure. Have never gotten that error message, and I do use OS X 10.10.3 as well as having very recently updated to R 3.2.2.
Are you using the R.app GUI?
If so … What do you see when you look at Preference/Startup for the default CRAN repository?
If not … What do you see when you run:
getOption("repos”)
I get:
CRAN
"http://cran.cnr.Berkeley.edu"
>
> Thanks!
>
> Peter Wicher
> pjwicher at gmail.com
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
More information about the R-help
mailing list