Getting error message in R Markdown KNITR2019 Community Moderator ElectionError: could not find function … in RComments in MarkdownCross-reference (named anchor) in markdownGitHub relative link in Markdown fileView markdown files offlineR - Markdown avoiding package loading messagesChanging image size in MarkdownProgrammatically creating Markdown tables in R with KnitRMarkdown: continue numbered listKnitr and slidify interactions in RStudioGitHub satanically messing with Markdown - changes 666 to DCLXVI
Is it true that real estate prices mainly go up?
I need to drive a 7/16" nut but am unsure how to use the socket I bought for my screwdriver
Humanity loses the vast majority of its technology, information, and population in the year 2122. How long does it take to rebuild itself?
Why would a flight no longer considered airworthy be redirected like this?
Will a pinhole camera work with instant film?
What are the possible solutions of the given equation?
Current sense amp + op-amp buffer + ADC: Measuring down to 0 with single supply
Could the Saturn V actually have launched astronauts around Venus?
How can I change step-down my variable input voltage? [Microcontroller]
How do I interpret this "sky cover" chart?
Happy pi day, everyone!
Does this AnyDice function accurately calculate the number of ogres you make unconcious with three 4th-level castings of Sleep?
Be in awe of my brilliance!
Employee lack of ownership
Professor being mistaken for a grad student
Distribution of Maximum Likelihood Estimator
What are some nice/clever ways to introduce the tonic's dominant seventh chord?
Replacing Windows 7 security updates with anti-virus?
How to make healing in an exploration game interesting
Brexit - No Deal Rejection
An Accountant Seeks the Help of a Mathematician
Unreachable code, but reachable with exception
Why using two cd commands in bash script does not execute the second command
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
Getting error message in R Markdown KNITR
2019 Community Moderator ElectionError: could not find function … in RComments in MarkdownCross-reference (named anchor) in markdownGitHub relative link in Markdown fileView markdown files offlineR - Markdown avoiding package loading messagesChanging image size in MarkdownProgrammatically creating Markdown tables in R with KnitRMarkdown: continue numbered listKnitr and slidify interactions in RStudioGitHub satanically messing with Markdown - changes 666 to DCLXVI
I am getting a very strange issue when using R-Markdown and when I press KNITR.
Each time I run the script I get the error below.
Error in
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
:
could not find function "read.csv"
This code does not feature in my script and exists in another document that I had created. I have changed the folder directory, cleared the environment. Yet this annoying error keeps appearing when pressing KNITR. I have created a new file, directory everything yet it keeps appearing.
I would be grateful for any pointers.
r markdown r-markdown
add a comment |
I am getting a very strange issue when using R-Markdown and when I press KNITR.
Each time I run the script I get the error below.
Error in
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
:
could not find function "read.csv"
This code does not feature in my script and exists in another document that I had created. I have changed the folder directory, cleared the environment. Yet this annoying error keeps appearing when pressing KNITR. I have created a new file, directory everything yet it keeps appearing.
I would be grateful for any pointers.
r markdown r-markdown
Possible duplicate of Error: could not find function ... in R
– barbsan
Mar 7 at 13:08
What do you mean "exists in another document that I had created"? Is this code you want to be running, or is this undesired code that is running for some unknown reason? I think if you want any real help, you need to provide a Minimal, Complete, and Verifiable example of your rmarkdown file that reproduces that error.
– divibisan
Mar 7 at 16:55
add a comment |
I am getting a very strange issue when using R-Markdown and when I press KNITR.
Each time I run the script I get the error below.
Error in
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
:
could not find function "read.csv"
This code does not feature in my script and exists in another document that I had created. I have changed the folder directory, cleared the environment. Yet this annoying error keeps appearing when pressing KNITR. I have created a new file, directory everything yet it keeps appearing.
I would be grateful for any pointers.
r markdown r-markdown
I am getting a very strange issue when using R-Markdown and when I press KNITR.
Each time I run the script I get the error below.
Error in
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
:
could not find function "read.csv"
This code does not feature in my script and exists in another document that I had created. I have changed the folder directory, cleared the environment. Yet this annoying error keeps appearing when pressing KNITR. I have created a new file, directory everything yet it keeps appearing.
I would be grateful for any pointers.
r markdown r-markdown
r markdown r-markdown
edited Mar 7 at 13:03
barbsan
2,48051324
2,48051324
asked Mar 7 at 12:28
MD1MD1
1
1
Possible duplicate of Error: could not find function ... in R
– barbsan
Mar 7 at 13:08
What do you mean "exists in another document that I had created"? Is this code you want to be running, or is this undesired code that is running for some unknown reason? I think if you want any real help, you need to provide a Minimal, Complete, and Verifiable example of your rmarkdown file that reproduces that error.
– divibisan
Mar 7 at 16:55
add a comment |
Possible duplicate of Error: could not find function ... in R
– barbsan
Mar 7 at 13:08
What do you mean "exists in another document that I had created"? Is this code you want to be running, or is this undesired code that is running for some unknown reason? I think if you want any real help, you need to provide a Minimal, Complete, and Verifiable example of your rmarkdown file that reproduces that error.
– divibisan
Mar 7 at 16:55
Possible duplicate of Error: could not find function ... in R
– barbsan
Mar 7 at 13:08
Possible duplicate of Error: could not find function ... in R
– barbsan
Mar 7 at 13:08
What do you mean "exists in another document that I had created"? Is this code you want to be running, or is this undesired code that is running for some unknown reason? I think if you want any real help, you need to provide a Minimal, Complete, and Verifiable example of your rmarkdown file that reproduces that error.
– divibisan
Mar 7 at 16:55
What do you mean "exists in another document that I had created"? Is this code you want to be running, or is this undesired code that is running for some unknown reason? I think if you want any real help, you need to provide a Minimal, Complete, and Verifiable example of your rmarkdown file that reproduces that error.
– divibisan
Mar 7 at 16:55
add a comment |
1 Answer
1
active
oldest
votes
Try to run read.csv
from utils
package as shown
utils::read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
or
library(utils)
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
|
show 1 more comment
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55043815%2fgetting-error-message-in-r-markdown-knitr%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Try to run read.csv
from utils
package as shown
utils::read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
or
library(utils)
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
|
show 1 more comment
Try to run read.csv
from utils
package as shown
utils::read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
or
library(utils)
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
|
show 1 more comment
Try to run read.csv
from utils
package as shown
utils::read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
or
library(utils)
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
Try to run read.csv
from utils
package as shown
utils::read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
or
library(utils)
read.csv(url("https://www.nomisweb.co.uk/api/v01/dataset/NM_1_1.data.csv?geography=1249902593...1249909543&date=latestMINUS2-latest&sex=7&item=1&measures=20100"))
answered Mar 7 at 12:45
Lunalo JohnLunalo John
1487
1487
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
|
show 1 more comment
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Hello Mr Lunalo so will running this code stop the line of code appearing in R Markdown?
– MD1
Mar 7 at 12:51
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Yes, What is happening is that the standard packages in r might be loading after your r profile is is processed so you have to call the package again to access the function.
– Lunalo John
Mar 7 at 13:00
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Thank you very much sir, i am trying that right now. Many thanks.
– MD1
Mar 7 at 13:11
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
Hello Mr Lunalo, I have tried your suggestion by pasting in the above code in the RMarkdown script and i still get the same error. Error in read.csv(url("nomisweb.co.uk/api/v01/dataset/…)) : could not find function "read.csv"
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
As mentioned it seems to be referencing an old link to something in my RMarkdown.
– MD1
Mar 7 at 14:44
|
show 1 more comment
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55043815%2fgetting-error-message-in-r-markdown-knitr%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Possible duplicate of Error: could not find function ... in R
– barbsan
Mar 7 at 13:08
What do you mean "exists in another document that I had created"? Is this code you want to be running, or is this undesired code that is running for some unknown reason? I think if you want any real help, you need to provide a Minimal, Complete, and Verifiable example of your rmarkdown file that reproduces that error.
– divibisan
Mar 7 at 16:55