We know that for a function $f:\mathbb{R}^n\to\mathbb{R}$ to be continuous, it is not sufficient for itto be continuous with respect to each coordinate. I believethe most commom counter-example is the function $f(x,y)=\dfrac{xy}{x^2+y^2}$ for $(x,y)\neq 0$ and $f(0)=0$.
What if we assume continuity "with respesct to every direction"?
Question 1: Given $f:\mathbb{R}^n\to\mathbb{R}$, suppose that for every $x\in\mathbb{R}^n$ and every $v\in\mathbb{R}^n$, the function $t\in\mathbb{R}\mapsto f(x+tv)\in\mathbb{R}$ is continuous. Is $f$ necessarily continuous?
Instead of considering only linear paths, we could consider arbitrary continuous paths: Let $\mathcal{C}$ be the set of continuous paths $\lambda:[0,1]\to\mathbb{R}^n$ (in the usual topologies).
Question 2: Suppose that for every $\lambda\in\mathcal{C}$, the function $f\circ\lambda:[0,1]\to\mathbb{R}$ is continuous. Is $f$ continuous?
And, going just a little further, we can admit arbitrary codomains (topological spaces), and this can be stated in terms of strong/final topologies;
Question 3: Is the topology of $\mathbb{R}^n$ the strong/final topology induced by $\mathcal{C}$?
Question 1 came to my mind some time ago, and questions 2 and 3 are simple adaptations.
My initial ideas would be to use some sort of (local) compactness to try to prove the continuity of $f$, or maybe use Peano curves or something of the sort to find a counter example, but I have no idea how to proceed.